package com.zxs.category.service;

import parm.PageParam;
import parm.ProductHotParam;
import pojo.Category;
import utils.R;

import java.util.List;

public interface CategoryService {
    R byName(String categoryName);


    R hots(ProductHotParam productHotParam);

    R list();

    R categoryList(PageParam pageParam);

    R categorySave(Category category);

    R categoryRemove(Category category);

    R categoryUpdate(Category category);

    List<Category> adminlist();
}
